package cn.wy.org.mapper;

import cn.wy.org.domain.Shop;
import cn.wy.basic.mapper.BaseMapper;
import cn.wy.org.dto.ShopDto;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-11-03
 */
public interface ShopMapper extends BaseMapper<Shop> {
    Shop findByNameAndAddress(Shop shop);
    //查询每一种状态的数量
    List<ShopDto> echarts();
}
